package com.bgs.microservices.service.system.utils;


import com.bgs.microservices.service.system.sysuser.entity.SysUser;

/**
 * @auther zcy
 * @data 2020/6/18 17:12
 */

public class UserUtils {


    /**
     *
     * 获取当前登录用户 放入缓存中
     * @return
     */
    public static SysUser getUser(){
        SysUser user = new SysUser();
        // 没有集成security之前先写死
        user.setUserName("admin");
        user.setLoginName("admin");
        return user;
    }

}
